// Modules to control application life and create native browser window
const {app, BrowserWindow} = require('electron')
const path = require('path')

let mainWindow = null;

app.on('ready',()=>{
  mainWindow = new BrowserWindow({
    title: 'bookmarker',
    webPreferences: {
      nodeIntegration:true,
      contextIsolation: false
      }
    
  });
  mainWindow.loadFile('index.html');
});

